﻿using SD.Infrastructure.DTOBase;
using System;
using System.Runtime.Serialization;

namespace SlamDunk.MES.IAppService.DTOs.Outputs.ResourceContext
{
    /// <summary>
    /// 班组成员数据传输对象
    /// </summary>
    [DataContract]
    public class TeamMemberInfo : BaseDTO
    {
        #region 人员Id —— Guid PersonId
        /// <summary>
        /// 人员Id
        /// </summary>
        [DataMember]
        public Guid PersonId { get; set; }
        #endregion

        #region 排序 —— int Sort
        /// <summary>
        /// 排序
        /// </summary>
        [DataMember]
        public int Sort { get; set; }
        #endregion

        #region 描述 —— string Description
        /// <summary>
        /// 描述
        /// </summary>
        [DataMember]
        public string Description { get; set; }
        #endregion


        //导航属性

        #region 导航属性 - 人员 —— PersonInfo PersonInfo
        /// <summary>
        /// 导航属性 - 人员
        /// </summary>
        [DataMember]
        public PersonInfo PersonInfo { get; set; }
        #endregion
    }
}
